package com.smz.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Menu {


  private int id;
  private int pid;
  private String mName;
  private int userId;
  private String mNumber;
  private String mIntroduction;
  private int companyId;
  private String mUrl;

  @TableField(exist = false)
  private List<Menu> TreeMenu;

    @TableField(exist = false)
    private List<Menu> TreeMenuOther;

    @TableField(exist = false)
    private User user;


}
